import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/router";
import adapter from "./utils/adapter";
import { Dialog, Form, Field, Cell, CellGroup, Button } from "vant";
import { ConfigProvider } from "vant";
import { Search } from "vant";
import { Popup } from "vant";
import { List } from "vant";
import { Toast } from 'vant';
import { Pagination } from 'vant';
import { Space } from 'vant';
import "./styles/index.css";
import { NavBar } from 'vant';
import { DatePicker } from 'vant';
import { Checkbox, CheckboxGroup } from 'vant';
import { DropdownMenu, DropdownItem } from 'vant';
import { RadioGroup, Radio } from 'vant';
import 'vant/es/dialog/style'
import 'vant/es/notify/style'
import { Calendar } from 'vant';
const app = createApp(App);
app.use(Calendar);
app.use(Radio);
app.use(RadioGroup);
app.use(DropdownMenu);
app.use(DropdownItem);
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(DatePicker);
app.use(Space);
app.use(Button);
app.use(Dialog);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(router);
app.use(Cell);
app.use(Popup);
app.use(ConfigProvider);
app.use(Search);
app.use(List);
app.use(Toast);
adapter(document, window);
app.use(Pagination);
app.use(NavBar);
app.mount("#app");
